package br.com.skytef.entity;

import java.sql.Time;

public class OrderItem {
	
	//private OrderEntity order;
	private int orderId;
	private int productId;
	private int userId;
	private int posId;
	private Time hour;
	private double unitValue;
	private double quantity;
	private String obs;
	private String action;
	
	
		
	public OrderItem() {
		super();
		this.orderId = 0;
		this.productId = 0;
		this.userId = 0;
		this.posId = 0;
		//this.hour = hour;
		this.unitValue = 0.0;
		this.quantity = 0.0;
		this.obs = "";
		this.action = "";
	}

	/*
	 * Setters and Getters
	 */
	/**
	 * @return the orderId
	 */
	public int getOrderId() {
		return orderId;
	}

	/**
	 * @param orderId the orderId to set
	 */
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	/**
	 * @return the productId
	 */
	public int getProductId() {
		return productId;
	}

	/**
	 * @param productId the productId to set
	 */
	public void setProductId(int productId) {
		this.productId = productId;
	}

	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}

	/**
	 * @return the posId
	 */
	public int getPosId() {
		return posId;
	}

	/**
	 * @param posId the posId to set
	 */
	public void setPosId(int posId) {
		this.posId = posId;
	}

	/**
	 * @return the hour
	 */
	public Time getHour() {
		return hour;
	}

	/**
	 * @param hour the hour to set
	 */
	public void setHour(Time hour) {
		this.hour = hour;
	}

	/**
	 * @return the unitValue
	 */
	public double getUnitValue() {
		return unitValue;
	}

	/**
	 * @param unitValue the unitValue to set
	 */
	public void setUnitValue(double unitValue) {
		this.unitValue = unitValue;
	}

	/**
	 * @return the quantity
	 */
	public double getQuantity() {
		return quantity;
	}

	/**
	 * @param quantity the quantity to set
	 */
	public void setQuantity(double quantity) {
		this.quantity = quantity;
	}

	/**
	 * @return the obs
	 */
	public String getObs() {
		return this.obs;
	}

	/**
	 * @param obs the obs to set
	 */
	public void setObs(String obs) {
		this.obs = obs;
	}
/*	
	*//**
	 * @return the order
	 *//*
	public OrderEntity getOrder() {
		return order;
	}

	*//**
	 * @param order the order to set
	 *//*
	public void setOrder(OrderEntity order) {
		this.order = order;
	}*/

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	
	
}
